package com.xbongbong.pro.rabbitmq.producer;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.api.pojo.ApiWebHookRabbitMqDTO;
import com.xbongbong.saas.enums.XbbRefTypeEnum;

/**
 * api webhook 生产者
 * @author 魏荣杰
 * @date 2019/10/10 20:32
 * @since v4.3.2.3
 * @version v4.3.2.3
 */
public interface ApiWebHookProducer {

    void sendMessage(ApiWebHookRabbitMqDTO apiWebHookRabbitMqDTO, XbbRefTypeEnum xbbRefTypeEnum) throws XbbException;
}
